﻿using System;

namespace SecondConsole
{
    /// <summary>
    /// 主类
    /// </summary>
    internal class Program
    {
        static void Main(string[] args)
        {
            #region 字符串拼接1
            //string a = "Hello";
            //string b = "world";
            //string c = "Helloworld";
            //string d = a + b;
            //if (d == c)
            //{
            //    Console.WriteLine("相等");
            //}
            #endregion

            #region 字符串拼接2
            //string a = "110";
            //string b = "11" + 0;
            //if (a.Equals(b))
            //{
            //    Console.WriteLine("a==b");
            //} 
            #endregion

            #region 字符串拼接3
            //string a = "hello";
            //string b = "world";
            //string c = "helloworld";
            //string d = a + b;
            //Console.WriteLine(c == d);
            //Console.WriteLine(c.Equals(d));
            //Console.WriteLine(object.ReferenceEquals(c, d)); 
            #endregion

            #region 常量
            //const decimal pi = 3.1415926464891156441686m;
            //double b = 0.2;
            //float c = 6.6f;
            //long e = 20;
            //long e2 = 20;
            //string s = "hello";
            #endregion
        }
    }
}
